package com.jwiki.app.jkeeper.controller.form;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class PropertyForm extends PageForm<Long> {

    private Long categoryId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date buyDate;

    private String buyDateFrom;

    private String buyDateTo;

    private Double price;

    private String imageUrl;

    private String description;

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Date getBuyDate() {
        return buyDate;
    }

    public void setBuyDate(Date buyDate) {
        this.buyDate = buyDate;
    }

    public String getBuyDateFrom() {
        return buyDateFrom;
    }

    public void setBuyDateFrom(String buyDateFrom) {
        this.buyDateFrom = buyDateFrom;
    }

    public String getBuyDateTo() {
        return buyDateTo;
    }

    public void setBuyDateTo(String buyDateTo) {
        this.buyDateTo = buyDateTo;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

}
